import { Component, OnInit } from '@angular/core';
import { ApplicationService } from "../../../service/application.service";
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";

@Component({
  selector: 'app-threed',
  templateUrl: './threed.component.html',
  styleUrls: ['./threed.component.css']
})
export class ThreedComponent implements OnInit {

  public href: SafeResourceUrl;
  constructor(
    private application: ApplicationService,
    private sanitizer: DomSanitizer
  ) {

  }

  ngOnInit() {
    this.href = this.sanitizer.bypassSecurityTrustResourceUrl(this.application.appConfigData.app3D);
  }

}



// WEBPACK FOOTER //
// ./src/app/module/monitor/threed/threed.component.ts